package net.studou.po;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Smaller entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Smaller implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 164130093726756370L;
	private Integer smallerId;
	private User user;
	private String smallUser;
	private Integer status;
	private Date createTime;
	private Set<Task> tasks = new HashSet<Task>(0);

	// Constructors

	/** default constructor */
	public Smaller() {
	}

	/** minimal constructor */
	public Smaller(Integer smallerId, User user, String smallUser,
			Integer status, Date createTime) {
		this.smallerId = smallerId;
		this.user = user;
		this.smallUser = smallUser;
		this.status = status;
		this.createTime = createTime;
	}

	/** full constructor */
	public Smaller(Integer smallerId, User user, String smallUser,
			Integer status, Date createTime, Set<Task> tasks) {
		this.smallerId = smallerId;
		this.user = user;
		this.smallUser = smallUser;
		this.status = status;
		this.createTime = createTime;
		this.tasks = tasks;
	}

	// Property accessors

	public Integer getSmallerId() {
		return smallerId;
	}

	public void setSmallerId(Integer smallerId) {
		this.smallerId = smallerId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getSmallUser() {
		return this.smallUser;
	}

	public void setSmallUser(String smallUser) {
		this.smallUser = smallUser;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Set<Task> getTasks() {
		return this.tasks;
	}

	public void setTasks(Set<Task> tasks) {
		this.tasks = tasks;
	}

}